<%@ page contentType="text/html;charset=UTF-8" %>
<script src="${ctx}/static/js/template.js" type="text/javascript"></script>
<script>window.template()</script>
<script type="text/html" id="normal_shops_tmpl">
    <* if(list != null && list.length > 0){ *>
    <* for(var i = 0; i < list.length ; i ++) { *>
    <* var data = list[i]; *>

    <li class="ui-border-t" onclick="funcViewShopDetail('<*:=data.id*>')">
        <div class="ui-row-flex" style="font-size: 17px;">
            <div class="ui-col ui-col-2">
                <span><*:=data.name*> </span>
            </div>
            <div class="ui-arrowlink">
            </div>
        </div>
        <div class="ui-row-flex" style="margin-top: 0px">
            <div class="ui-col ui-col-2">
                <h5 class="ui-txt-info"><*:=data.location*></h5>
            </div>
        </div>
        <div class="ui-row-flex">
            <div class="ui-col ui-col-2">
                <h5 class="ui-txt-info">
                    <* var outTime = data.createTime.toDateString() *>
                    <*:= outTime*>
                </h5>
            </div>
        </div>
    </li>

    <* } *>
    <* } *>
</script>


<script type="text/html" id="frozen_shops_tmpl">
    <* if(list != null && list.length > 0) { *>
    <* for (var i = 0 ; i < list.length ; i++) { *>
    <* var data = list[i]; *>

    <li class="ui-border-t" onclick="funcViewShopDetail('<*:=data.id*>')">
        <div class="ui-row-flex" style="font-size: 17px;">
            <div class="ui-col ui-col-2">
                <span><*:=data.name*> </span>
            </div>
            <div class="ui-arrowlink">
            </div>
        </div>
        <div class="ui-row-flex" style="margin-top: 0px">
            <div class="ui-col ui-col-2">
                <h5 class="ui-txt-info"><*:=data.location*></h5>
            </div>
        </div>
        <div class="ui-row-flex">
            <div class="ui-col ui-col-2">
                <h5 class="ui-txt-info">
                    <* var outTime = data.createTime.toDateString() *>
                    <*:= outTime*>
                </h5>
            </div>
        </div>
    </li>

    <* } *>
    <* } *>
</script>


<script type="text/html" id="no_tmpl_data">
    <div class="ui-flex ui-flex-ver ui-flex-pack-center ui-flex-align-start"
         style="height: 450px; overflow: auto; background-color: #f8f8f8">
        <div id="noPlatformTransDiv" class="div-noUnpay">
            <div>
                <img alt="" src="<*:=ctx *>/static/image/recharge/nodata.png" width="150px">
            </div>
            <div class="div-text" style="padding-top: 20px">无记录</div>
        </div>
    </div>
</script>

